<?php if(!empty($user)){?>
<div class="sebelumjud">
        <div class="jodol"><?php echo $user['NAMA']?> —Progress</div>

</div>

<div class="clear"></div>
        <div id="jumat">
                <div id="last">
                        <a href="<?php echo base_url().'progress/progress_con/progress_personal_detail/'.$user['ID'].'/1'?>">last 10</a>
                        <a href="<?php echo base_url().'progress/progress_con/progress_personal_detail/'.$user['ID'].'/2'?>">This Month</a>
                        <a href="<?php echo base_url().'progress/progress_con/progress_personal_detail/'.$user['ID'].'/3'?>">Last Month</a>
                </div>
                <div id="pic"><img src="<?php echo $user['FOTO']?>" /></div>
                <div id="samping2">
                    <?php
                        if(!empty($progress)){
                            for($i=0;$i<count($progress);$i++){
                                echo '
                        <div class="bebek bwhpad">
                                '.$progress[$i]['DESC_PROGRESS'].' 
                                <p class="clear"></p>
                                <span class="staff2">'.$progress[$i]['TGL'].', '.$progress[$i]['WAKTU'].'</span>
                                <span class="like"><input name="send" type="button" class="likebut" value="Like" /></span>
                                <span class="plusX">+'.$progress[$i]['LIKE'].'</span>
                                <p class="clear"></p>
                        </div>
                                    ';
                            }
                        }
                    ?>
                        

                        <div class="clear"></div>
                </div>
                <div class="clear"></div>
                        <p class="paging">
                        <?php
                            if(!empty($page) and !empty($curr_page)){
                                if($curr_page>1)
                                echo '<a href="'.base_url().'progress/progress_con/progress/'.$option.'/'.$id_divisi.'/'.($curr_page-1).'"><</a>';
                                for($i=0;$i<$page;$i++){
                                    if($curr_page==($i+1))
                                        echo '<b>';
                                    echo '<a href="'.base_url().'progress/progress_con/progress/'.$option.'/'.$id_divisi.'/'.($i+1).'">'.($i+1).'</a>';
                                    if($curr_page==($i+1))
                                        echo '</b>';
                                }
                                if($curr_page<$page)
                                    echo '<a href="'.base_url().'progress/progress_con/progress/'.$option.'/'.$id_divisi.'/'.($curr_page+1).'">></a>';
                            }
                        ?>    
                        </p>
        </div><!---end div jumat --->
        <div class="clear"></div>
        <?php }?>